<div  id="pagedata">
    <div class="box-body no-padding">
        <div class="table-responsive mailbox-messages">
            <table class="table table-hover table-striped" id="list">
                <tbody>
                <!-- 标题栏 -->
                <tr>
                    <td><input type="checkbox" id="all"></td>
                    <td style="width:60px;"><a href="">排序</a></td>
                    <td style="width:60px;"><a href="">点击</a></td>
                    <td class="mailbox-star"><a href="#">标题</a></td>
                    <td class="mailbox-star"><a href="#">显示</a></td>
                    <td class="mailbox-star"><a href="#">推荐</a></td>
                    <td class="mailbox-star"><a href="#">置顶</a></td>
                    <td class="mailbox-star"><a href="#">发表时间</a></td>
                    <td class="mailbox-star"><a href="#">管理操作</a></td>
                </tr>
                <!-- 标题栏 END -->


                <!-- 循环列表 默认循环20条 高度为980px -->
                {volist name="Content" id="data"}
                <tr data-id="{$data.id}">
                    <td><input name="select_id" type="checkbox" value="{$data.id}"></td>
                    <td><input name="listorder" class="listorder"  type="text" data-orderid="{$data.id}"  value="{$data.listorder}" style="width:35px;"/></td>
                    <td>{if ($data.hits<9999)}{$data.hits}{else /}{:sprintf("%.1f", $data.hits/1000)}k{/if}</td>
                    <td class="mailbox-subject" width="40%">{$data.name}</td>
                    <td class="mailbox-star">
                        <a class="alter" field="status" state="{$data.status}">
                            &nbsp;<span class="fa fa-{$data.status?'check':'close'}"></span>
                        </a>
                    </td>
                    <td class="mailbox-star">
                        <a class="alter" field="rec_ok" state="{$data.rec_ok}">
                            &nbsp;<span class="fa fa-{$data.rec_ok?'check':'close'}"></span>
                        </a>
                    </td>
                    <td class="mailbox-star">
                        <a class="alter" field="top_ok" state="{$data.top_ok}">
                            &nbsp;<span class="fa fa-{$data.top_ok?'check':'close'}"></span>
                        </a>
                    </td>
                    <td class="mailbox-date">{$data.create_time|date='Y-m-d',###}</td>
                    <td class="mailbox-date">
                        <a href="{:U('Content/delContent', ['id'=>$data['id']])}" class="btn btn-primary btn-xs">删除</a>
                        <a href="{:U('Content/editContent', ['id'=>$data['id']])}" class="btn btn-success btn-xs">编辑</a>
                       
                    </td>
                </tr>
                {/volist}
                <!-- 循环列表 END -->


                </tbody>
            </table>
        </div>
    </div>
    <div class="box-footer no-padding" >
        <div class="mailbox-controls" style="margin-top:20px;margin-bottom:10px;">
            <input type="button" value="反选" class="btn" id="reverse">
            <input type="button" value="删除" class="btn" onclick="batchDelete();">
            {$page}
        </div>

    </div>

</div>
